<section class="wrapper">
	<!-- page start-->
	<section class="panel">
		<header class="panel-heading">
			SOCIAL MEDIA <span class="pull-right"> </span>
		</header>
		<div class="panel-body">
			<form class="form-horizontal" role="form" name="add_socia"
				method="post"
				action="<?= base_url();?>secure/settings/social_media/social_update"">
				<?php
								$this->session->flashdata('message'); {
									$msg = $this->session->flashdata('message');
									echo '<font color="red">' . $msg . '</font>';
								}
								?>
				<div class="form-group">
					<label for="input" class="col-lg-2 control-label">Facebook</label>
					<div class="col-lg-8">
						<input type="text" class="form-control" name="facebook_link" id="facebook_link"
							placeholder="Facebook Link" value="<?= $facebook_link;?>">
					</div>
				</div>

				<div class="form-group">
					<label for="input" class="col-lg-2 control-label">Twitter</label>
					<div class="col-lg-8">
						<input type="text" class="form-control" name="twitter_link" id="twitter_link"
							placeholder="Twitter Link" value="<?= $twitter_link;?>">
					</div>
				</div>
				<div class="form-group">
					<label for="input" class="col-lg-2 control-label">Linkedin</label>
					<div class="col-lg-8">
						<input type="text" class="form-control" name="linkedin_link" id="linkedin_link"
							placeholder="Linkedin Link" value="<?= $linkedin_link;?>">
					</div>
				</div>
				<div class="form-group">
					<label for="input" class="col-lg-2 control-label">Google+</label>
					<div class="col-lg-8">
						<input type="text" class="form-control" name="google_link" id="google_link"
							placeholder="Googleplus Link" value="<?= $google_link;?>">
					</div>
				</div>
				
					<div class="form-group">
					<label for="input" class="col-lg-2 control-label">Pinterest</label>
					<div class="col-lg-8">
						<input type="text" class="form-control"  id="pinterest_link" name="pinterest_link"
							placeholder="Pinterest Link" value="<?= $pinterest_link;?>">
					</div>
				</div>			
				<div class="form-group">
					<div class="col-lg-offset-2 col-lg-8">
					<input type="submit" class="btn btn-info pull-right" name="social" value="Update" <?php if($this->config->item('mode')=='DEMO'){?>onclick="alert ('Sorry! Not allowed in demo mode '); return false;" <?} else?>onclick="return confirm('Are you sure ?');" >
					</div>
				</div>


			</form>
		</div>
		<!-- End of Body Panel -->
	</section>
	<!-- page end-->
</section>